package com.xu.wemall.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

@Slf4j
@Api(tags = "Hello操作接口")
@RestController
@RequestMapping("/hello")
public class HelloController {

    @ApiOperation("获取")
    @GetMapping("/test")
    public String world() {
        return "Hello Test!";
    }

    @ApiOperation("获取")
    @GetMapping("/ronnie")
    public String ronnie() {
        return "Hello Ronnie!";
    }

}
